LOCAL_PATH := $(call my-dir)
MAIN_LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := audiohook

LOCAL_CFLAGS := -Wno-error=format-security -fpermissive -DLOG_TAG=\"VA++\"
LOCAL_CFLAGS += -fno-rtti -fno-exceptions

LOCAL_C_INCLUDES += $(MAIN_LOCAL_PATH)

LOCAL_SRC_FILES := audiohook.cpp \
                   my_dlfcn.cpp


LOCAL_LDLIBS := -llog
LOCAL_STATIC_LIBRARIES := hookzz

include $(BUILD_SHARED_LIBRARY)
include $(LOCAL_PATH)/HookZz/Android.mk